<!--  -->
<template>
  <div>插槽slot

 

   <SlotCom>
    <template #default="{list}">
         <div>

           {{list}}
         </div>
     </template>
     
      <template #search>
         <div>搜索</div>
     </template>
     <template #table="{list}">
         <div>表格

           {{list}}
         </div>
     </template>
     <template #page>
         <div>分页</div>
     </template>
   </SlotCom>
  </div>
</template>

<script lang='ts' setup>
import SlotCom from '../../components/SlotCom.vue';
import { reactive,toRefs,ref,onMounted} from 'vue'
</script>
<style scoped>
</style>